import request from '@/utils/request.js'

export const getMedicalRecordsByUserId = (userId) => {
  return request.get('/registration/getByUserId', {
    params: { userId }
  })
}